package Jcat.cduestcbbs.Service;

import java.sql.SQLException;
import java.util.List;

import Jcat.cduestcbbs.DaoImpl.PostsDaoImpl;
import Jcat.cduestcbbs.Po.PostsPo;
import Jcat.cduestcbbs.Po.ReplyPo;

public class OnlyLookWritersService {
	
	private PostsDaoImpl postsimpl = new PostsDaoImpl();
	
	public List<ReplyPo> getWritersPostAndReply(PostsPo post){
		
		try{
			return postsimpl.getWritersPostAndReply(post);
		}catch(SQLException e){
			e.printStackTrace();
		}
		return null;
	}
}
